//
//  Model.m
//  登录状态本地存储
//
//  Created by 杨利佳 on 15/5/8.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "Model.h"

@implementation Model

- (void)dealloc
{
    [_state release];
    [super dealloc];
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        
    }
    return self;
}

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.state forKey:@"state"];
    
}

- (id)initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    if (self) {
      self.state =  [aDecoder decodeObjectForKey:@"state"];
    }
    return self;
}


@end
